package org.mdrtwell.junit;

public class Stack {
	private String[]	elements;
	private int			nextIndex;

	public Stack() {
		elements = new String[100];
		nextIndex = 0;
	}

	public void push(String e) {
		elements[nextIndex++] = e;
	}

	public String pop() {
		return elements[--nextIndex];
	}
}
